package com.ruoyi.web.controller.applet;

import com.ruoyi.common.core.controller.BaseController;
import com.ruoyi.common.core.page.TableDataInfo;
import com.ruoyi.system.domain.vo.applet.AppletRemainToBeEvaluated;
import com.ruoyi.system.service.IBdmOrderItemService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

/**
 * 订单项目Controller
 * 
 * @author ruoyi
 * @date 2024-12-13
 */
@RestController
@RequestMapping("/system/item")
public class AppletOrderItemController extends BaseController
{
    @Autowired
    private IBdmOrderItemService bdmOrderItemService;

    /**
     * 查询未评价订单项
     */
    @GetMapping("/remainToBeEvaluated")
    public TableDataInfo list()
    {
        startPage();
        List<AppletRemainToBeEvaluated> list = bdmOrderItemService.remainToBeEvaluated();
        return getDataTable(list);
    }

}
